#ifndef __PEOPLE_H_ 
#define __PEOPLE_H_ 

#include <sstream>

#include <Quantity.h>
#include <LengthUnit.h>


#include <vector>
using std::vector;

typedef Quantity<LengthUnit> Length;

typedef struct 
{
	string name;
	Length length;
}PeopleRecord;

class People
{    
public:
	People();
	void formatOutput(std::ostream& os,Format& format);
	void addPeople(const PeopleRecord& people);
	virtual ~People() {}
private:
	void OutputLineTerminal(std::ostream& os,vector<PeopleRecord>::size_type index);
	vector<PeopleRecord> people_m;
}; 

#endif
